import { ref } from 'vue';
import { UUID } from '@/util/rnd.js';

// --- function ---
export const DirSign = R.prop(R.__, { prev: -1, next: 1 });
export const SideProp = R.prop(R.__, { x: 'width', y: 'height' });
export const assignId = o => (o.id = UUID(), o);

// --- data ---
export const reasonList = ref(['漏标', '错标', '多标']);
export const CommentOwn = () => ({
  rejectReason: reasonList.value[0],
  remark: '',
});
